﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace LittleMonkey.Datastructure
{
    [JsonObject(MemberSerialization.OptIn)]
    public class Storedata
    {
        [JsonProperty]
        public string storeid { get; set; }

        [JsonProperty]
        public string allocatestart { get; set; }

        [JsonProperty]
        public string allocateend { get; set; }

        [JsonProperty]
        public string data { get; set; }

        public Storedata()
		{

		}

        public string ToJsonString()
        {
            return JsonConvert.SerializeObject(this);
        }
        public static Storedata Deserialize(string jsonString)
        {
            return JsonConvert.DeserializeObject<Storedata>(jsonString);
        }
    }
}
